package com.cn.demo4.service.impl;

import com.cn.demo4.entity.ConsultingEntity;
import com.cn.demo4.mapper.ConsultingMapper;
import com.cn.demo4.service.IConsultingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ConsultingServiceIpml implements IConsultingService {
    @Autowired
    private ConsultingMapper consultingMapper;
    @Override
    public List<ConsultingEntity> findAll() {
        return consultingMapper.findAll();
    }

    @Override
    public List<ConsultingEntity> getConsultingModelListForHome() {
        return consultingMapper.getConsultingModelListForHome();
    }
}
